package com.zige.zige.view.panoplayer;

import android.graphics.SurfaceTexture;

import com.zige.zige.view.panoplayer.glwrapper.GlCamera;

/**
 * Created by admin on 16/1/5.
 */
public abstract class AbstractPanoRenderer {

    abstract SurfaceTexture getSurfaceTexture();

    abstract void onSurfaceCreated();

    abstract void onSurfaceChanged(int width, int height);

    abstract void prepareFrame();

    abstract void onDrawFrame(GlCamera camera);

    abstract void cleanUp();
}
